﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace InSys.Documents
{
    public partial class FormKindDocuments : Form
    {
        private MapTestLinqDataContext db = new MapTestLinqDataContext(Properties.Settings.Default.testlinqConnectionString);
        public FormKindDocuments()
        {
            InitializeComponent();
            kindDocumentDataGridView.DataSource = db.kindDocument;
        }

        private void buttonSave_Click(object sender, EventArgs e)
        {
            db.SubmitChanges();
        }
    }
}
